#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
void my_strcpy(char* str ,const char* arr)
{
	while (*str++ = *arr++)
	{
		;
	}
}
int main()
{
	char arr[20] = "abcdefg";
	char str[20] = { 0 };
	my_strcpy(str,arr);
	printf("%s", str);
	return 0;
}